/*
 * @Author: szx
 * @Date: 2022-04-29 16:51:57
 * @LastEditTime: 2022-05-03 18:08:23
 * @Description:
 * @FilePath: \learn\React学习\react路由\src\index.js
 */
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import App from './App';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <BrowserRouter>
        <App />
    </BrowserRouter>
);
